<html>
<head>
    <script type="text/javascript">
	window.onerror=function(){return true;} 
    	try{
    		window.external.OpenGameWindowNew("http://{$_SERVER['HTTP_HOST']}/play.html?id={:get_username()}&game={$_GET['game']}&sid={$_GET['sid']}&is_client=1", "{$_GET['sid']}", "{:ginfo(name)} {$_GET['title']}", false);
    	}catch(e){
    		window.external.OpenGameWindow("http://{$_SERVER['HTTP_HOST']}/play.html?id={:get_username()}&game={$_GET['game']}&sid={$_GET['sid']}&is_client=1", "{$_GET['sid']}", false);
    	}
    </script>
</head>
<body>
</body>
</html>